package com.huabo.sql.record;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by Jackie Liu on 2017/7/4.
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ColumnExtend {

    /**
     * 扩展类型，如pg数据库的json, jsonb数据类型
     * @return
     */
    ExtendType extendType() default ExtendType.DEFAULT;
}
